﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/TravelIndex.master" CodeBehind="SolicitudPaquete2.aspx.vb" Inherits="CondorTravel.SolicitudPaquete2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor" TagPrefix="cc1" %>   

<asp:Content ID="Content1" ContentPlaceHolderID="contenidoModulo" runat="server">
    <div id="titulo">Solicitud de Paquete</div>

<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>

<form name="frmConsultarPaquete" method="post" id="frmConsultarPaquete">

<div class="subtitulo"></div>
	
	<table style="WIDTH: 78%" cellspacing="0" cellpadding="0" border="0">
	<tbody>
		<tr class="TRlist3">
			<td colspan="4"><strong><u>Información de Paquetes</u></strong></td>
		</tr>
		<tr class="TRlist3">
			<td style="HEIGHT: 16px;width">Nombre Paquete</td>
			<td colspan = "3" >
                <asp:TextBox ID="txtDesPaquete" runat="server" Width="270px" MaxLength = "50"></asp:TextBox>
&nbsp;
            </td>
		</tr>		
        <tr class="TRlist3">
			<td style="HEIGHT: 16px;width">Servicio</td>
			<td colspan = "3" >
                <asp:TextBox ID="txtDesServicio" runat="server" Width="270px" MaxLength = "100"></asp:TextBox>
&nbsp;
            </td>
		</tr>		
		<tr class="TRlist3">
			<td style="WIDTH: 98px">Proveedor</td>
			<td style="WIDTH: 270px">                
				<asp:TextBox ID="txtDesProveedor" runat="server" Width="270px" MaxLength = "50"></asp:TextBox></td>
			<td style="width: 95px">&nbsp;</td>
            <td>
                <asp:DropDownList ID="cboEstado" runat="server" Height="16px" Width="120px" 
                    Visible="False">
                </asp:DropDownList></td>
		</tr>		
		<tr class="TRlist3">
			<td style="WIDTH: 98px">Inicio Vigencia</td>
			<td style="WIDTH: 270px">                
                <asp:TextBox ID="txtInicio" runat="server"></asp:TextBox>
                 <img id="imgInicio" src="../../res/img/calendar.jpg" style="cursor:pointer"/>
                 <asp:CalendarExtender ID="cle1" TargetControlID="txtInicio" runat="server" Format="dd/MM/yyyy" PopupButtonID="imgInicio"/>                             
            </td>
			<td style="width: 95px">Fin Vigencia</td>
            <td>
                <asp:TextBox ID="txtFin" runat="server"></asp:TextBox>
                <img id="imgFin" src="../../res/img/calendar.jpg" style="cursor:pointer"/>
                 <asp:CalendarExtender ID="cle2" TargetControlID="txtFin" runat="server" Format="dd/MM/yyyy" PopupButtonID="imgFin"/>                     
            </td>
		</tr>		
		<tr>
			<td style="WIDTH: 98px; HEIGHT: 30px"></td>
			<td style="WIDTH: 270px; HEIGHT: 30px">&nbsp;&nbsp;&nbsp;
				<input name="txtCodigo" type="text" value="0" id="txtCodigo" style="color:Transparent;background-color:Transparent;border-color:Transparent;border-style:None;width:0px;">
				<input name="txtTipoCli" type="text" value="Prospecto" id="txtTipoCli" style="color:Transparent;background-color:Transparent;border-color:Transparent;border-style:None;width:0px;">&nbsp;
                  <asp:Button ID="btnNuevo" runat="server"
                    Text="Nuevo" 
                    Width="94px"  class="graybutton"   /></td>
			<td style="HEIGHT: 30px; width: 95px;">
                &nbsp;<asp:Button ID="btnConsultar" class="graybutton" runat="server" Text="Consultar" Width="70px" /></td>
			<td style="HEIGHT: 30px">
				&nbsp;</td>
		</tr>
		
	</tbody>
	</table>
	<span id="lblError" class="lblError"></span><p></p>
<p>
    <asp:GridView ID="dgSolicitudPaquete" runat="server" 
        AutoGenerateColumns="False" Width="814px">
        <Columns>
            <asp:BoundField DataField="CodSolicitud" HeaderText="Código" />
            <asp:BoundField DataField="NombrePaquete" HeaderText="Paquete" />
            <asp:BoundField HeaderText="Servicios" DataField="Servicios" />
            <asp:BoundField DataField="Proveedor" HeaderText="Proveedor" />
            <asp:BoundField DataField="FechaVigenciaInicio" HeaderText="F.Vig. Inicio" 
                DataFormatString="{0:d}" />
            <asp:BoundField DataField="FechaVigenciaFin" HeaderText="F.Vig. Fin" 
                DataFormatString="{0:d}" />
            <asp:BoundField DataField="Observaciones" HeaderText="Observación" />
            <asp:BoundField DataField="UsuarioCreador" HeaderText="Usuario" />
            <asp:BoundField DataField="Estado" HeaderText="Estado" />
            <asp:TemplateField HeaderText="Editar">
                <ItemTemplate>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                         <asp:ImageButton ID="ImagenEditar1" runat="server" 
                        CommandArgument='<%#Eval("CodSolicitud")%>' 
                        CommandName="Editar" Height="19px" ImageUrl="~/res/img/icono_editar.gif" 
                        Width="16px" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Evaluar">
                <ItemTemplate>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                         <asp:ImageButton ID="ImagenenEvaluar" runat="server" 
                        CommandArgument='<%#Eval("CodSolicitud")%>' 
                        CommandName="Evaluar" Height="19px" ImageUrl="~/res/img/icono_editar.gif" 
                        Width="16px" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Eliminar">
                <ItemTemplate>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:ImageButton ID="imgEliminar" runat="server" 
                        CommandArgument='<%#Eval("CodSolicitud")%>' 
                        CommandName="Eliminar" Height="19px" ImageUrl="~/res/img/icono_eliminar.gif" 
                        Width="16px" />
                     <asp:ConfirmButtonExtender TargetControlID="imgEliminar" ID="confBtnDelete"  
                        ConfirmText="¿Esta seguro que desea eliminar?" runat="server">
                    </asp:ConfirmButtonExtender>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</p>
<p>
         <asp:Label ID="lblError" runat="server" Font-Bold="True" ForeColor="#FF3300" 
             Text="No existe información a mostrar"></asp:Label>
      </p>	
</form>
</asp:Content>